import request2 from '@/utils/request2'
import { technologyApiUrl } from '../../config'


export default {
  // 科技基础信息量化责任书列表
  queryList(data, params) {
    return request2({
      url: technologyApiUrl + '/new-technique/quantufiy/queryList', method: 'post', params, data
    })
  },
  // 科技基础信息量化责任书查看详情
  findById(data, params) {
    return request2({
      url: technologyApiUrl + '/new-technique/quantufiy/findById/' + params.id, method: 'get', params, data
    })
  },
  // 科技基础信息量化责任书编辑
  edit(data, params) {
    return request2({
      url: technologyApiUrl + '/new-technique/quantufiy/edit', method: 'post', params, data
    })
  },
  // 科技基础信息量化责任书删除
  deleteById(params) {
    return request2({
      url: technologyApiUrl + '/new-technique/quantufiy/deleteById/' + params.id, method: 'get', params
    })
  },
  // 科技基础信息量化责任书更改状态
  changeStop( params) {
    return request2({
      url: technologyApiUrl + '/new-technique/quantufiy/changeStop/' + params.id, method: 'get', params
    })
  },
  // 科技基础信息量化责任书新增
  add(data, params) {
    return request2({
      url: technologyApiUrl + '/new-technique/quantufiy/add', method: 'post', params, data
    })
  },
  // 列表-类型标签
  typesLabelList( params) {
    return request2({
      url: technologyApiUrl + '/technology/types-label/list', method: 'get', params
    })
  }

}
